<HTML><HEAD><TITLE>library(sicstus)</TITLE></HEAD><BODY>
[ <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]<H1>library(sicstus)</H1>
SICStus Prolog Compatibility Package
<H2>Predicates</H2>
<BLOCKQUOTE>
<DL>
<DT><STRONG>block(?)</STRONG></DT>
<DD>No description available</DD>
<DT><A HREF="call_residue-2.html"><STRONG>call_residue(+Goal,-Residue)</STRONG></A></DT>
<DD>This is only approximate, the variables in the second argument are dummies</DD>
<DT><STRONG>dif(?, ?)</STRONG></DT>
<DD>No description available</DD>
<DT><STRONG>fcompile(?)</STRONG></DT>
<DD>No description available</DD>
<DT><STRONG>freeze(?, ?)</STRONG></DT>
<DD>No description available</DD>
<DT><STRONG>frozen(?, ?)</STRONG></DT>
<DD>No description available</DD>
<DT><STRONG>if(?, ?, ?)</STRONG></DT>
<DD>No description available</DD>
<DT><STRONG>load(?)</STRONG></DT>
<DD>No description available</DD>
<DT><STRONG>on_exception(?, ?, ?)</STRONG></DT>
<DD>No description available</DD>
<DT><STRONG>raise_exception(?)</STRONG></DT>
<DD>No description available</DD>
<DT><STRONG>rename_head(?, ?)</STRONG></DT>
<DD>No description available</DD>
<DT><STRONG>when(?, ?)</STRONG></DT>
<DD>No description available</DD>
</DL>
</BLOCKQUOTE>
<H2>Reexports</H2>
<BLOCKQUOTE><DL>
<DT><STRONG>reexport <A HREF="../../lib/quintus/index.html">quintus</A></STRONG></DT><DD>except load / 1</DD>
</DL></BLOCKQUOTE>
<H2>Other Exports</H2>
<BLOCKQUOTE><DL>
<DT><STRONG>export op(1150, fx, block)</STRONG></DT><DD></DD>
<DT><STRONG>export chtab(92, escape)</STRONG></DT><DD></DD>
</DL></BLOCKQUOTE>
<H2>Description</H2>

    ECLiPSe includes a SICStus Prolog compatibility package to ease
    the task of porting SICStus Prolog applications to ECLiPSe Prolog. 
    This package includes the C-Prolog compatibility package (lib(cprolog))
    and the Quintus-Prolog compatibility package (lib(quintus)). 
    <P>
    Please note that this appendix does not detail the functionality
    of SICStus Prolog, refer to the SICStus Prolog documentation for
    this information. 
    <P>
    The effect of the compatibility library is local to the module where
    it is loaded. For maximum compatibility, a Sicstus program should
    be wrapped in a separate module starting with a directive like
    <PRE>
    :- module(mymodule, [], sicstus).
    </PRE>
    In this case, Eclipse-specific language constructs will not be available.
    <P>
    If the compatibility package is loaded into a standard module, e.g. like
    <PRE>
    :- module(mymixedmdule).
    :- use_module(library(sicstus)).
    </PRE>
    then Sicstus and Eclipse language features can be used together. 
    However, ambiguities must be resolved explicitly and confusion may
    arise from the different meaning of quotes in Eclipse vs Sicstus-Prolog.
    <P>
    A sockets library is provided for compatibility with the sockets
    manipulation predicates of SICStus.  To use these predicates, the
    sockets library has to be loaded: 
    <PRE>
    :- use_module(library(sockets)).
    </PRE>
    For SICStus 3.0, the sockets predicates are also in a sockets library,
    so no changes are needed to load the library.  However, for older
    versions of SICStus, the predicates are available as built-ins, and no
    library has to be loaded.  So if the code is written for older
    versions of SICStus, then the above line has to be added. 
    <P>
    The sockets library can be used independently of the sicstus library. 
    Note also that ECLiPSe also provides its own socket manipulation
    predicates that provides similar functionalities to the sockets library. 
    <P>
    Since the SICStus package contains the Quintus one, the syntax
    differences are the same.
    
<H2>About</H2><UL COMPACT>
<LI><STRONG>Author: </STRONG>Micha Meier, ECRC Munich
<LI><STRONG>Copyright &copy; </STRONG>Cisco Systems, Inc
<LI><STRONG>Date: </STRONG>$Date: 2009/02/19 05:38:37 $
</UL>
<H2>See Also</H2>
<A HREF="../../lib/cio/index.html">library(cio)</A>, <A HREF="../../lib/cprolog/index.html">library(cprolog)</A>, <A HREF="../../lib/quintus/index.html">library(quintus)</A>, <A HREF="../../lib/sockets/index.html">library(sockets)</A>, <A HREF="../../lib/swi/index.html">library(swi)</A><HR>Generated from sicstus.eci on 2009-05-27 01:25
</BODY></HTML>
